package com.qfjy.homework.dingyuxiang;

/**
 * @version : 1.0
 * @outhor : 丁宇翔
 * @date : 2022/6/29 19:31
 */
//创建扩展了上述类的实体类。
public class Cricket extends Game {
    @Override
    void initialize() {
        System.out.println("Cricket Game Finished!");
    }

    @Override
    void startPlay() {
        System.out.println("Cricket Game Initialized! Start playing.");
    }

    @Override
    void endPlay() {
        System.out.println("Cricket Game Started. Enjoy the game!");
    }
}
